package com.geek.zookeeper.connect;

import com.geek.zookeeper.connect.Connect;
import com.geek.zookeeper.connect.impl.ConnectImpl;

import java.util.concurrent.TimeUnit;

public class ZooClient {

	public static void main(String[] args) throws Exception {
		Connect connect = new ConnectImpl();
		connect.init();
		connect.deleteData();
		connect.createData();
		connect.readData();

		TimeUnit.SECONDS.sleep(Integer.MAX_VALUE);
	}

}
